﻿//-----------------------------------------------------------------------
// <copyright file="NullLogger.cs" company="OpenSource">
//     All code is Microsoft Public License (Ms-PL)
// </copyright>
// <history>
// 2013.02  Created         Chris Hand
// </history>
//-----------------------------------------------------------------------
namespace OpenSource.TumblrAPI.Support
{
    /// <summary>
    /// If a logger isn't provided, use the null logger.
    /// </summary>
    public class NullLogger : LoggerBase
    {
        /// <summary>
        /// Initializes a new instance of the null logger class
        /// </summary>
        public NullLogger()
            : base(LogFlag.Fatal)
        { 
        }

        protected override void WriteLog(LogFlag flag, string message)
        {
        }
    }
}
